package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import com.mbc.common.param.CriteriaParams;
import com.mbc.rmt.data.StaffTypeDataList;
import com.mbc.rmt.entities.StaffType;
import com.mbc.rmt.entities.StaffTypeRpt;

public interface StaffTypeDAO {
	public void create(StaffType entity) throws SQLException;

	public void update(StaffType entity) throws SQLException;

	public void delete(long key) throws SQLException;

	public StaffType find(long key) throws SQLException;

	public StaffType findByCode(String code,long branchId) throws SQLException;

	public List<StaffType> findAll() throws SQLException;

	public StaffTypeDataList findStaffTypes(CriteriaParams cri)
			throws SQLException;
	
	public StaffTypeDataList getStaffTypeList(StaffTypeRpt info)
			throws SQLException;
	
	ResultSet prepareStaffTypeReport(StaffTypeRpt info
			) throws SQLException;
}
